
import java.awt.Graphics;
import java.awt.Image;
import javax.swing.JPanel;




public class JanelaInicial extends JPanel  {
	
	Image image;
	  public JanelaInicial()
	  {
	    try
	    {
	      image = javax.imageio.ImageIO.read(new java.net.URL(getClass().getResource("CJR_Logo_Final.png"), "CJR_Logo_Final.png"));
	    }
	    catch (Exception e) { /*handled in paintComponent()*/ }
	  }

	  @Override
	  protected void paintComponent(Graphics g)
	  {
	    super.paintComponent(g); 
	    if (image != null)
	      g.drawImage(image, 0,0,this.getWidth(),this.getHeight(),this);
	  }
 	
     
}